﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Detail.aspx.cs" Inherits="Detail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <style type="text/css">
     
    .panel{
           border-style:solid; border-width:3px; border-color:darkgrey;
           width:80%;height:500px;padding-top:30px;padding-left:20px;
           margin-top:30px;
           text-align:center;
    }
    
    .Table{
     margin:0 auto
    }

    .Table_tr {
            height: 50px;
     }


    .td2{
         text-align:left;
        }

    </style>

    <div class="panel">
     
     <table class="Table">
      <tr>
        <td>商品图片：</td>
        <td class="td2">
            <asp:Image ID="Image1" runat="server" style="width:150px;height:90px;
            border-color:aqua;border-style:solid; border-width:2px;" />
        </td>
      </tr>

      <tr style="height:30px">
         <td></td>
         <td>
             &nbsp;</td>
         <td>
         </td>
      </tr>

      <tr class="Table_tr">
        <td>商品名称：</td>
        <td class="td2">
            <asp:TextBox ID="GoodsName" runat="server" Width="167px" readonly=true></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
      </tr>

       <tr class="Table_tr">
         <td>商品描述：</td>
         <td class="td2">
             <asp:TextBox ID="GoodsDescription" runat="server" Height="87px" Width="312px"
               TextMode="MultiLine" readonly=true></asp:TextBox>
         </td>
         <td>
             &nbsp;</td>
       </tr>

        <tr class="Table_tr">
          <td>商品价格：</td>
          <td class="td2">
              <asp:TextBox ID="Price" runat="server" Width="68px" readonly=true></asp:TextBox> 元
          </td>
          <td>
              &nbsp;</td>
        </tr>

        <tr class="Table_tr">
         <td>商品分类：</td>
         <td class="td2">
             <asp:DropDownList ID="Type" runat="server" AppendDataBoundItems="true"
                  AutoPostBack="true" DataTextField="GoodsTypeName">
             </asp:DropDownList>
         </td>
        </tr>

        <tr class="Table_tr">
         <td>发布时间：</td>
         <td class="td2">
            <asp:TextBox ID="ReleaseTime" runat="server" Width="167px" readonly=true></asp:TextBox>
         </td>
        </tr>

        <tr class="Table_tr">
         <td>&nbsp;</td>
         <td class="td2">
             &nbsp;</td>
        </tr>

        <tr class="Table_tr">
         <td>
             <asp:Button ID="Backing" runat="server" Text="返回上一页" 
               style="background-color:aliceblue;border-color:white"  OnClick="Back"/>
         </td>
         <td>
             &nbsp;</td>
         <td>
             <asp:Button ID="Buying" runat="server" Text="我要购买" 
               style="background-color:aliceblue;border-color:white"  OnClick="Buy" />
         </td>
        </tr>
     
     </table>

    </div>


    </asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>

